package com.isnmp.common.snmp;

import java.io.Serializable;

public class MibBaseObj implements Serializable {
    private String dbKey = "";
    private String nodeName = "";

    public String genKey() {
        return "";
    }

    public String toString() {
        return genKey();
    }

    public String getDbKey() {
        return this.dbKey;
    }

    public void setDbKey(String paramString) {
        this.dbKey = paramString;
    }

    public String getNodeName() {
        return this.nodeName;
    }

    public void setNodeName(String paramString) {
        this.nodeName = paramString;
    }

    public int hashCode() {
        return getDbKey().hashCode();
    }

    public boolean equals(Object paramObject) {
        if ((paramObject instanceof MibBaseObj)) {
            MibBaseObj localMibBaseObj = (MibBaseObj) paramObject;
            if (getDbKey().equals(localMibBaseObj.getDbKey()))
                return true;
        }
        return false;
    }
}